/* ========================================================
   Ping AR Font Family Definitions & Arabic / RTL Global Rules
   ======================================================== */

@font-face {
    font-family: 'Ping AR';
    src: url('/Ping%20AR/alfont_com_PingARLT-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR';
    src: url('/Ping%20AR/alfont_com_PingARLT-ExtraLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR';
    src: url('/Ping%20AR/alfont_com_PingARLT-ExtraLight.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR';
    src: url('/Ping%20AR/alfont_com_PingARLT-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR';
    src: url('/Ping%20AR/alfont_com_PingARLT-Medium.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR';
    src: url('/Ping%20AR/alfont_com_PingARLT-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR';
    src: url('/Ping%20AR/alfont_com_PingARLT-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ping AR';
    src: url('/Ping%20AR/alfont_com_PingARLT-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ── Global RTL / Arabic Font Enforcement ── */
html[dir="rtl"],
html[lang^="ar"],
[dir="rtl"],
[dir="rtl"] body,
[dir="rtl"] .font-sans,
[dir="rtl"] .font-serif,
[dir="rtl"] .pilo-container,
[dir="rtl"] input,
[dir="rtl"] button,
[dir="rtl"] select,
[dir="rtl"] textarea,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] p, [dir="rtl"] span, [dir="rtl"] a, [dir="rtl"] label, [dir="rtl"] div {
    font-family: 'Ping AR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

html[dir="rtl"] {
    --font-sans: 'Ping AR', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    --font-serif: 'Ping AR', serif !important;
}
